package cn.aitrox.ry.service.anno.mapper;

import cn.aitrox.ry.service.anno.entity.AnnoLesionResultEntity;
import cn.aitrox.ry.service.anno.po.anno.lesion.result.ArIdAlrCountPo;
import com.github.abel533.mapper.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AnnoLesionResultMapper extends Mapper<AnnoLesionResultEntity> {

    List<ArIdAlrCountPo> findCountGroupByArId(@Param("arIds") List<Integer> arIds);

    List<AnnoLesionResultEntity> findByArIds(@Param("arIds") List<Integer> arIdList);

    void batchInsert(@Param("list") List<AnnoLesionResultEntity> list);

    List<Integer> findIdByArIdGroupId(@Param("arId") Integer arId, @Param("groupId") Integer groupId);
}
